import storage from "./storage";

// 封装 操作token的方法  避免多次写token的名字或者写错

const token = 'HEIMA_TOUTIAO_TOKEN'

export const getToken = () => storage.get(token)

export const setToken = value => storage.set(token, value)

export const removeToken = () => storage.remove(token)